extends Resource
class_name ItemData

@export var id: String
@export var name: String
@export var description: String
@export var icon: Texture2D  # 直接使用PNG图片作为图标
@export var type: Item.ItemType
@export var stackable: bool = true
@export var max_stack: int = 99
@export var use_effect: String = ""
@export var damage: float = 0.0
@export var defense: float = 0.0
@export var heal_amount: float = 0.0 
